package com.hckj.jianzhijia.model;

import com.avos.avoscloud.AVObject;

/**
 * Created by 赵奇隆 on 2015-11-28.
 */
public class City {

    public static final String TABLE_NAME = "cities";

    private String city = null;
    private int cityId = -1;
    private int belongTo = -1;

    public City(AVObject avObject) {

        this.city = avObject.getString("city");
        this.cityId = avObject.getInt("cityId");
        this.belongTo = avObject.getInt("belongTo");
    }


    public int getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(int belongTo) {
        this.belongTo = belongTo;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }
}
